home *** CD-ROM | disk | FTP | other *** search
- Widths of Things in 4xFORTH
-
-
- User Parameter Stack
- --------------------
- The stack is 32 bits wide. Double precision words are considered
- to contain two stack cells one on top of the other. The most signi-
- ficant value of the two is on top. Double precision variables are
- entered to the stack from the keyboard by including any of the
- following punctuation marks within a number:
-
- , / - : and .
-
- Math routines which are defined by the 83 Standard to leave or use
- double precision numbers leave or use 64 bit values. Double precision
- numbers used inside definitions DO work properly!
-
- Byte values placed on the stack by KEY or any of the byte operators
- are right justified in the 32 bit stack cell.
-
- Word values (16 bit) which might be placed on the stack by "W"
- operators are also right justified in the 32 bit stack cell.
-
- Variable names leave 32 bit addresses on the parameter stack when
- they are executed.
-
-
- Return Stack
- ------------
- The return stack is always 32 bits in width.
-
-
- Variables
- ---------
- Variables defined with VARIABLE or V, constants defined with C
- or CONSTANT, all leave 32 bit variables or addresses on the user
- parameter stack. Variables which are defined using "TO" concept
- defining word, such as VALUE and VALUES, use 32 bit addresses or
- 32 bit data depending on the state of the control variable.
-
-
- ə